package com.dkd.manage.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dkd.common.annotation.Excel;
import com.dkd.common.core.domain.BaseEntity;

/**
 * 工单详情对象 tb_task_details
 *
 * @author bigBear
 * @date 2024-09-26
 */
@ApiModel(description = "任务详情对象")
public class TaskDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty(value = "任务详情ID", hidden = true)
    private Long detailsId;

    /** 工单Id */
    @ApiModelProperty(value = "工单Id")
    @Excel(name = "工单Id")
    private Long taskId;

    /** 货道编号 */
    @ApiModelProperty(value = "货道编号")
    @Excel(name = "货道编号")
    private String channelCode;

    /** 补货期望容量 */
    @ApiModelProperty(value = "补货期望容量")
    @Excel(name = "补货期望容量")
    private Long expectCapacity;

    /** 商品Id */
    @ApiModelProperty(value = "商品Id")
    @Excel(name = "商品Id")
    private Long skuId;

    /** $column.columnComment */
    @ApiModelProperty(value = "商品名称")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String skuName;

    /** $column.columnComment */
    @ApiModelProperty(value = "商品图片")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String skuImage;

        public void setDetailsId(Long detailsId) {
            this.detailsId = detailsId;
        }

        public Long getDetailsId() {
            return detailsId;
        }
        public void setTaskId(Long taskId) {
            this.taskId = taskId;
        }

        public Long getTaskId() {
            return taskId;
        }
        public void setChannelCode(String channelCode) {
            this.channelCode = channelCode;
        }

        public String getChannelCode() {
            return channelCode;
        }
        public void setExpectCapacity(Long expectCapacity) {
            this.expectCapacity = expectCapacity;
        }

        public Long getExpectCapacity() {
            return expectCapacity;
        }
        public void setSkuId(Long skuId) {
            this.skuId = skuId;
        }

        public Long getSkuId() {
            return skuId;
        }
        public void setSkuName(String skuName) {
            this.skuName = skuName;
        }

        public String getSkuName() {
            return skuName;
        }
        public void setSkuImage(String skuImage) {
            this.skuImage = skuImage;
        }

        public String getSkuImage() {
            return skuImage;
        }

@Override
public String toString() {
    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
        .append("detailsId", getDetailsId())
        .append("taskId", getTaskId())
        .append("channelCode", getChannelCode())
        .append("expectCapacity", getExpectCapacity())
        .append("skuId", getSkuId())
        .append("skuName", getSkuName())
        .append("skuImage", getSkuImage())
            .toString();
}
}
